import 'package:flutter/material.dart';

class DiscoverChildPage extends StatelessWidget{

  final String title;


  DiscoverChildPage(this.title);

  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return Scaffold(
      appBar: AppBar(
        title: Text(title),
        centerTitle: true,
      ),
      body: ListView(
        children: [Text(title),Text(title),Text(title)],
      ),
    );
  }

}